Skip to content

Comments

feat: create generic chain ops paymaster to replace AA factory paymaster#26

Merged
coffeexcoin merged 3 commits intomainfrom
feat/chain-ops-paymaster
Jun 25, 2025
Merged

feat: create generic chain ops paymaster to replace AA factory paymaster#26
coffeexcoin merged 3 commits intomainfrom
feat/chain-ops-paymaster

Conversation

@coffeexcoin
Copy link
Contributor

@coffeexcoin coffeexcoin commented Jun 24, 2025

  • feat: add generic chain ops paymaster
  • use safetransfer for bootloader call

PR-Codex overview

This PR introduces a new IAccountFactory interface and enhances the AccountFactory and ChainOpsPaymaster contracts to include account sponsorship features. It also updates the project dependencies and adds a new library, solady, for improved functionality.

Detailed summary

  • Added solady dependency to package.json.
  • Modified foundry.toml to include additional library path.
  • Introduced IAccountFactory interface in contracts/interfaces/IAccountFactory.sol.
  • Updated AccountFactory to implement IAccountFactory.
  • Added ChainOpsPaymaster contract with sponsorship functionality.
  • Implemented methods for managing sponsored accounts and transactions in ChainOpsPaymaster.
  • Included SPDX license identifiers in new Solidity files.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@coffeexcoin coffeexcoin requested a review from cygaar June 24, 2025 13:52
@coffeexcoin coffeexcoin merged commit daed5f1 into main Jun 25, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants